package cn.tedu.boot10.pojo.entity;

public class Team {
    private Integer id;
    private String name;
    private String loc;

    public Team() {
    }

    public Team(Integer id, String name, String loc) {
        this.id = id;
        this.name = name;
        this.loc = loc;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return loc
     */
    public String getLoc() {
        return loc;
    }

    /**
     * 设置
     * @param loc
     */
    public void setLoc(String loc) {
        this.loc = loc;
    }

    public String toString() {
        return "Team{id = " + id + ", name = " + name + ", loc = " + loc + "}";
    }
}
